package com.blog.service;

import com.blog.entity.BlogComment;
import com.blog.utils.BusinessException;

import java.util.List;

/**
 * @Author Huangzp
 * @Date 2022/1/7 16:38
 */
public interface CommentService {
    List<BlogComment> getCommentsByArticleId(int articleId);

    void saveComment(BlogComment comment)throws BusinessException;

    void deleteComment(Integer id, Integer articleByManagerId)throws BusinessException;

    List<BlogComment> getCommentPage(BlogComment comment);

    void delComment(List<Integer> ids);
}
